package com.AJava1710D.设计模式.单例.枚举单例2;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2020/10/6  8:22
 * 描述: 测试普通单例的一个类(饿汉式)
 */
public class PuTongdanLi {

    private PuTongdanLi() {
    }

    private static PuTongdanLi puTongdanLi=new PuTongdanLi();

    public static PuTongdanLi getInstance(){
        return puTongdanLi;
    }
}
